package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan({"com.dao"})
@ServletComponentScan     //扫描servlet相关的组件
public class SbootsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbootsmApplication.class, args);
    }

}
